package route

import (
	"github.com/gin-gonic/gin"
	"server/app/api/handel/common"
)

type CommonRoute struct{}

func (CommonRoute) InitRoute(r *gin.RouterGroup) {
	c := r.Group("common")
	// 健康检查
	c.GET("ping", common.Ping.Ping)
	c.POST("common/upload_image", common.Upload.UploadImage)

}
